package com.lagou.homework04;

public class WorkerTest {

    public static void main(String[] args) {

        Worker w1 = null;
        try {
            w1 = new Worker("yumaoxiang",35);
        } catch (AgeException e) {
            e.printStackTrace();
        }
        System.out.println("w1 = " + w1);
    }
}
